<template>
<el-form label-width="80px" :model="formmodel">
    <el-form-item label="https://">
      <el-input v-model="formmodel.name" @input="changeFunc"></el-input>
     </el-form-item>
    <el-form-item label="">
      <p>{{$t('common.link_notice_ssl')}}</p>
      <p>{{$t('common.link_notice_domain')}}</p>
      <p>{{$t('common.link_notice_platform')}}</p>
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  data() {
    return {
      /*form模型*/
      formmodel: {}
    };
  },
  methods: {
    /*选中的值*/
    changeFunc(e) {
      //从e中把name和ur赋值到下面的对象
      let boj = {
        name: '',
        url: 'https://' + e
      };
      this.$emit('changeData', boj);
    }
  }
};
</script>

